const Mock = require('mockjs')

module.exports = Mock.mock({
  "remmend|10-20": [{
    "rightUrl": "@image(200x200, @color, @cname)",
    "id": "@id",
    "nickname": "@cname",
    "datetime": "@datetime",
    "title": "@ctitle",
    "desc": "@cword(50,100)",
    "mess|3-5": [{
      "avator": "@image(50x50, @color)",
      "name": "@cname",
      "datetime": "@datetime",
      "con": "@cword(50,200)",
      "id": "@id"
    }]
  }]
})